home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 9825 / 9825.xpi / chrome / content / options.xul < prev    next >
Extensible Markup Language  |  2010-01-10  |  13KB  |  251 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE window SYSTEM "chrome://smarterwiki/locale/smarterwiki.dtd">
  4.  
  5. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  6. <?xml-stylesheet href="chrome://smarterwiki/content/smarterwiki.css" type="text/css"?>
  7.  
  8.  
  9. <prefwindow id="smarterwikiOptions"
  10.             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.             xmlns:html="http://www.w3.org/1999/xhtml"
  12.             title="&options.window.title;"
  13.             windowtype="SmarterWikiOptions">
  14.             
  15.     <prefpane id="SmarterWikiOptions_general" label="&options.generalOptions;" image="chrome://smarterwiki/skin/smarterfox-logo-inner.png"> 
  16.         <preferences>
  17.             <preference id="SmarterWikiOptions_enable_linkify"
  18.                         name="extensions.smarterwiki.enable_linkify"
  19.                         type="bool" />
  20.  
  21.             <preference id="SmarterWikiOptions_add_related_articles"
  22.                         name="extensions.smarterwiki.add_related_articles"
  23.                         type="bool" />
  24.  
  25.             <preference id="SmarterWikiOptions_enhance_urlbar"
  26.                         name="extensions.smarterwiki.enhance_urlbar"
  27.                         type="bool" />
  28.  
  29.             <preference id="SmarterWikiOptions_show_context_menu_additions"
  30.                         name="extensions.smarterwiki.show_context_menu_additions"
  31.                         type="bool" />
  32.  
  33.             <preference id="SmarterWikiOptions_enable_endless_pages"
  34.                         name="extensions.smarterwiki.enable_endless_pages"
  35.                         type="bool" />
  36.  
  37.             <preference id="SmarterWikiOptions_auto_copy_selected"
  38.                         name="extensions.smarterwiki.auto_copy_selected"
  39.                         type="bool" />
  40.  
  41.             <preference id="SmarterWikiOptions_enable_middle_click_paste"
  42.                         name="extensions.smarterwiki.enable_middle_click_paste"
  43.                         type="bool" />
  44.  
  45.             <preference id="SmarterWikiOptions_enable_right_click_paste"
  46.                         name="extensions.smarterwiki.enable_right_click_paste"
  47.                         type="bool" />
  48.         </preferences>
  49.         <vbox>
  50.             <checkbox preference="SmarterWikiOptions_enable_linkify" 
  51.                       label="&options.enableLinkify;" />
  52.             <checkbox preference="SmarterWikiOptions_add_related_articles" 
  53.                       label="&options.addRelatedArticles;" />
  54.             <checkbox preference="SmarterWikiOptions_enhance_urlbar" 
  55.                       label="&options.enhanceUrlbar;" />
  56.             <checkbox preference="SmarterWikiOptions_show_context_menu_additions" 
  57.                       label="&options.showContextMenuAdditions;" />
  58.             <checkbox preference="SmarterWikiOptions_enable_endless_pages" 
  59.                       label="&options.enableEndlessPages;" />
  60.             <groupbox>
  61.                 <caption label="&options.copyPaste;" />
  62.                 <checkbox preference="SmarterWikiOptions_auto_copy_selected" 
  63.                           label="&options.autoCopySelected;" />
  64.                 <checkbox preference="SmarterWikiOptions_enable_middle_click_paste" 
  65.                           label="&options.enableMiddleMousePaste;" />
  66.                 <checkbox preference="SmarterWikiOptions_enable_right_click_paste" 
  67.                           label="&options.enableRightMousePaste;" />
  68.             </groupbox>
  69.             <groupbox>
  70.                 <caption label="&options.feedbackCaption;" />
  71.                 <label id="feedback-link" class="text-link" value="&options.feedbackLabel;"
  72.                     onclick="openURL('http://smarterfox.com/feedback/');"
  73.                 />
  74.             </groupbox>
  75.             <!--
  76.             <description>
  77.                 <html:a href="#" id="feedback-link" target="_blank">
  78.                     &options.feedbackLabel;
  79.                 </html:a>
  80.             </description>
  81.             -->        
  82.         </vbox>
  83.     </prefpane>
  84.     
  85.  
  86.     <prefpane id="SmarterWikiOptions_search_results" image="chrome://smarterwiki/skin/search-results-icon.png"
  87.               label="&options.searchResultsOptions;"> 
  88.         <preferences>
  89.             <preference id="SmarterWikiOptions_add_related_searches"
  90.                         name="extensions.smarterwiki.add_related_searches"
  91.                         type="bool" />
  92.             <preference id="SmarterWikiOptions_add_related_search_results_amazon"
  93.                         name="extensions.smarterwiki.add_related_search_results_amazon"
  94.                         type="bool" />
  95.             <preference id="SmarterWikiOptions_add_related_search_results_oneriot"
  96.                         name="extensions.smarterwiki.add_related_search_results_oneriot"
  97.                         type="bool" />
  98.             <preference id="SmarterWikiOptions_add_search_refinements"
  99.                         name="extensions.smarterwiki.add_search_refinements"
  100.                         type="bool" />
  101.         </preferences>
  102.         <vbox>
  103.             <checkbox preference="SmarterWikiOptions_add_related_searches" 
  104.                       label="&options.addOtherSearchEngines;" />
  105.             <checkbox preference="SmarterWikiOptions_add_related_search_results_amazon" 
  106.                       label="&options.addRelatedSearchResultsAmazon;" />
  107.             <checkbox preference="SmarterWikiOptions_add_related_search_results_oneriot" 
  108.                       label="&options.addRelatedSearchResultsOneriot;" />
  109.             <checkbox preference="SmarterWikiOptions_add_search_refinements" 
  110.                       label="&options.addSearchRefinements;" />
  111.         </vbox>
  112.     </prefpane>
  113.  
  114.  
  115.     <prefpane id="SmarterWikiOptions_qLauncher" image="chrome://smarterwiki/skin/qlauncher-icon.png"
  116.               label="&options.qlauncherOptions;"> 
  117.         <preferences>
  118.             <preference id="SmarterWikiOptions_enable_qlauncher"
  119.                         name="extensions.smarterwiki.enable_qlauncher"
  120.                         type="bool" />
  121.  
  122.             <preference id="SmarterWikiOptions_qlauncher_open_new_tab"
  123.                         name="extensions.smarterwiki.qlauncher_open_new_tab"
  124.                         type="bool" />
  125.         </preferences>
  126.         <vbox>
  127.             <checkbox id="enable-qlauncher-checkbox" preference="SmarterWikiOptions_enable_qlauncher" label="&options.enableQlauncher;" />
  128.             <vbox>
  129.                 <label control="shortcut-key-textbox" value="&options.invokeQlauncher;"/>
  130.                 <textbox id="shortcut-key-textbox" style="cursor: pointer;" value="" />
  131.             </vbox>
  132.             <checkbox id="qlauncher-open-new-tab-checkbox" preference="SmarterWikiOptions_qlauncher_open_new_tab" label="&options.qlauncherOpenNewTab;" />
  133.         </vbox>
  134.     </prefpane>
  135.  
  136.     <prefpane id="SmarterWikiOptions_popup_bubble" image="chrome://smarterwiki/skin/popup-bubble-icon-square.png"
  137.               label="&options.popupBubbleOptions;"> 
  138.         <preferences>
  139.             <preference id="SmarterWikiOptions_show_popup_bubble"
  140.                         name="extensions.smarterwiki.show_popup_bubble"
  141.                         type="bool" />
  142.  
  143.             <preference id="SmarterWikiOptions_popup_bubble_open_new_tab"
  144.                         name="extensions.smarterwiki.popup_bubble_open_new_tab"
  145.                         type="bool" />
  146.  
  147.             <preference id="SmarterWikiOptions_search_oneriot"
  148.                         name="extensions.smarterwiki.search_oneriot"
  149.                         type="bool" />
  150.  
  151.             <preference id="SmarterWikiOptions_search_yandex"
  152.                         name="extensions.smarterwiki.search_yandex"
  153.                         type="bool" />
  154.  
  155.             <preference id="SmarterWikiOptions_search_delicious"
  156.                         name="extensions.smarterwiki.search_delicious"
  157.                         type="bool" />
  158.  
  159.             <preference id="SmarterWikiOptions_search_twitter"
  160.                         name="extensions.smarterwiki.search_twitter"
  161.                         type="bool" />
  162.  
  163.             <preference id="SmarterWikiOptions_search_surfcanyon"
  164.                         name="extensions.smarterwiki.search_surfcanyon"
  165.                         type="bool" />
  166.  
  167.             <preference id="SmarterWikiOptions_search_bing"
  168.                         name="extensions.smarterwiki.search_bing"
  169.                         type="bool" />
  170.  
  171.             <preference id="SmarterWikiOptions_search_baidu"
  172.                         name="extensions.smarterwiki.search_baidu"
  173.                         type="bool" />
  174.  
  175.             <preference id="SmarterWikiOptions_search_reddit"
  176.                         name="extensions.smarterwiki.search_reddit"
  177.                         type="bool" />
  178.  
  179.             <preference id="SmarterWikiOptions_search_youtube"
  180.                         name="extensions.smarterwiki.search_youtube"
  181.                         type="bool" />
  182.  
  183.             <preference id="SmarterWikiOptions_search_wiktionary"
  184.                         name="extensions.smarterwiki.search_wiktionary"
  185.                         type="bool" />
  186.  
  187.             <preference id="SmarterWikiOptions_search_google"
  188.                         name="extensions.smarterwiki.search_google"
  189.                         type="bool" />
  190.  
  191.             <preference id="SmarterWikiOptions_popup_bubble_force_single_row"
  192.                         name="extensions.smarterwiki.popup_bubble_force_single_row"
  193.                         type="bool" />
  194.         </preferences>
  195.         <vbox>
  196.             <checkbox id="show-popup-bubble-checkbox" preference="SmarterWikiOptions_show_popup_bubble" label="&options.showPopupBubble;" />
  197.             <groupbox>
  198.                 <caption label="&options.searchEngines.caption;" />
  199.                 <checkbox class="search-checkbox" id="search-oneriot-checkbox" preference="SmarterWikiOptions_search_oneriot" 
  200.                           label="&options.searchEngines.OneRiot;" />
  201.                 <checkbox class="search-checkbox" id="search-yandex-checkbox" preference="SmarterWikiOptions_search_yandex" 
  202.                           label="&options.searchEngines.Yandex;" />
  203.                 <checkbox class="search-checkbox" id="search-delicious-checkbox" preference="SmarterWikiOptions_search_delicious" 
  204.                           label="&options.searchEngines.Delicious;" />
  205.                 <checkbox class="search-checkbox" id="search-twitter-checkbox" preference="SmarterWikiOptions_search_twitter" 
  206.                           label="&options.searchEngines.Twitter;" />
  207.                 <checkbox class="search-checkbox" id="search-surfcanyon-checkbox" preference="SmarterWikiOptions_search_surfcanyon" 
  208.                           label="&options.searchEngines.SurfCanyon;" />
  209.                 <checkbox class="search-checkbox" id="search-bing-checkbox" preference="SmarterWikiOptions_search_bing" 
  210.                           label="&options.searchEngines.Bing;" />
  211.                 <checkbox class="search-checkbox" id="search-baidu-checkbox" preference="SmarterWikiOptions_search_baidu" 
  212.                           label="&options.searchEngines.Baidu;" />
  213.                 <!--
  214.                 <checkbox class="search-checkbox" id="search-reddit-checkbox" preference="SmarterWikiOptions_search_reddit" 
  215.                           label="&options.searchEngines.Reddit;" />
  216.                 -->
  217.                 <checkbox class="search-checkbox" id="search-youtube-checkbox" preference="SmarterWikiOptions_search_youtube" 
  218.                           label="&options.searchEngines.YouTube;" />
  219.                 <checkbox class="search-checkbox" id="search-wiktionary-checkbox" preference="SmarterWikiOptions_search_wiktionary" 
  220.                           label="&options.searchEngines.Wiktionary;" />
  221.                 <checkbox class="search-checkbox" id="search-google-checkbox" preference="SmarterWikiOptions_search_google" 
  222.                           label="&options.searchEngines.Google;" />
  223.             </groupbox>
  224.             <checkbox id="popup-bubble-open-new-tab-checkbox" preference="SmarterWikiOptions_popup_bubble_open_new_tab" 
  225.                       label="&options.popupBubbleOpenNewTab;" />
  226.             <checkbox id="popup-bubble-force-single-row-checkbox" preference="SmarterWikiOptions_popup_bubble_force_single_row" 
  227.                       label="&options.popupBubbleForceSingleRow;" />
  228.         </vbox>
  229.     </prefpane>
  230.  
  231.  
  232.     <stringbundleset id="stringbundleset">
  233.         <!--
  234.         For some reason the id must be exactly that or it will fail :(
  235.         -->
  236.         <stringbundle id="smarterwiki_strings" 
  237.                       src="chrome://smarterwiki/locale/strings.properties"/>
  238.     </stringbundleset>
  239.  
  240.     <script type="application/javascript" 
  241.             src="chrome://global/content/contentAreaUtils.js" /><!-- opens the survey in new tab -->
  242.  
  243.     <script type="application/x-javascript"
  244.             src="chrome://smarterwiki/content/jquery-1.2.6.js" />
  245.  
  246.     <script type="application/x-javascript"
  247.             src="chrome://smarterwiki/content/options.js" />
  248.     <!--
  249.     script must come after all prefpanes or bad things will happen according to MDC
  250.     -->
  251. </prefwindow>